home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 March
/
Macworld (1998-03) (Disk 1).dmg
/
Shareware World
/
Info
/
For Developers
/
DR2.1update5
/
README.build
< prev
next >
Wrap
Text File
|
1997-10-23
|
3KB
|
88 lines
October 21, 1997
Building the OSF Microkernel and the Linux Server from sources
--------------------------------------------------------------
The detailed instructions for building the Microkernel and Server
actually exist in the source archives themselves. This document
is just to point you to the correct set of archives, help you
get them unpacked, and point you to the right README's.
NOTE: the DR2.1update5 update contains a pre-built Mach Kernel, and
a pre-build linux server. If you are not interested in building these
pieces, you don't have to! Simply follow the instructions in
"README.install" to install the pre-built binaries.
ANOTHER NOTE: there have been reports of problems building the Linux
server using these instructions. If you had built the Microkernel and/or
Linux Server from the DR2.1 sources, then there may be some old libraries
hanging around. These old libraries will interfere with the final "link"
of the Linux Server. The quick fix for this is to do the following command:
rm /usr/lib/libmach*
Get the correct set of sources and tools
----------------------------------------
FTP the pieces of this Update that you'll need to do the build. You
should be able to find these pieces in the same directory where you
found this README.
If you want to build just the microkernel, you'll need the following
pieces:
DR2.1update5.osfmk.src.tgz
DR2.1update5.tools.tgz
ode-bin.tgz
If you want to build just the Linux server, you'll need the following
pieces:
DR2.1update5.osfmk.export.tgz
DR2.1update5.tools.tgz
DR2.1update5.mklinux.src.tgz
If you want to build both the Microkernel and Linux server, you'll need
the following pieces:
DR2.1update5.osfmk.src.tgz
DR2.1update5.tools.tgz
DR2.1update5.mklinux.src.tgz
ode-bin.tgz
A word about ode-bin.tgz -- If you have already FTP'ed a copy, or obtained
off CDROM, the DR2 or DR2.1 "tools", then you don't need to FTP this
entire archive again. Just make the "ode-bin" directory appear in the
/usr/src directory, and you'll be set with the ode-bin tools. However,
you should still get the DR2.1update5.tools.tgz (which is MUCH smaller,
now that it doesn't include the ode-bin tools), as those are the "mach"
tools, like mig and makeboot.
The ode-bin.tgz in DR2.1update5 is _exactly_ the same as the ode-bin.tgz
from the earlier updates to DR2.1.
Unpack the the tar archives:
----------------------------
I prefer to unpack these sources (and tools) into /usr/src. If you put
them somewhere else, be sure to replace all instances of /usr/src in
the instructions, in your .sandboxrc file, .bashrc, etc.
cd /usr/src
tar xzvf <file1>.tgz
tar xzvf <file2>.tgz
.
.
.
Follow the detailed instructions found in the other READMEs
-----------------------------------------------------------
Assuming you've unpacked the archives in /usr/src, the files you
want to look at are:
/usr/src/DR2.1update5/OSFMK_BUILD.README
/usr/src/DR2.1update5/MKLINUX_BUILD.README
Happy Hacking!